<template>
  <div>
    <el-row class="header" style="color: #303030;">
      <el-col class="title" :xs="24" :sm="14" :md="12" :lg="12" :xl="12"
        >喝牛奶的胖达的博客</el-col
      >
      <el-col class="nav" :xs="24" :sm="10" :md="12" :lg="12" :xl="12">
        <router-link to="/index/home" tag="span">首页</router-link>
        <router-link to="/index/blog" tag="span">博客</router-link>
        <router-link to="/index/classify" tag="span">分类</router-link>
        <router-link to="/index/about" tag="span">关于</router-link>
      </el-col>
    </el-row>
    <router-view></router-view>

    <el-row class="footer">
      <el-col>
        <p>WebBLog个人博客 作者：xiaosheepnet</p>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "Index",
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
  
}

.title{
  font-size: 35px;
  font-weight: bold;
  height: inherit;
  text-align: center;
  line-height: 100px;
  cursor: pointer;
}

.footer{
  font-size: 15px;
  text-align: center;
  height: 50px;
  background-color: #e0e6eb;
  line-height: 50px;
  color: #9c9d9e;
}
.nav {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
.nav span {
  margin: 0px 10px;
  line-height: 100px;
}
.nav span:hover {
  color: #1279c4;
  cursor: pointer;
}


</style>
